package com.example.moblie2021606143cwj0427;

import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import java.util.ArrayList;
import java.util.List;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private List<part>list = new ArrayList<>();
    private int[] picture= {R.drawable.one,R.drawable.two,R.drawable.three,R.drawable.four};

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
        initData();
    }


    private void initView() {
        tvMainTitle = findViewById(R.id.tv_main_title);
        private void initData() {
            list.add(new part("中南大厦停车场","30","广东省汕头市潮阳区",""))
        }
    }
}